<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <script src="./js/jquery/1.11.3/jquery.min.js"></script>
    <script src="./js/jquery-ui.min.js"></script>
    <script src="./js/jquery.nicescroll.js"></script>

    <script src="./css/bootstrap/js/bootstrap.min.js"></script>
    <link href="./css/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" href="./css/ico/iconfont.css">
    <link rel="stylesheet" type="text/css" href="./css/jsplumbtoolkit-defaults.css">
    <link rel="stylesheet" type="text/css" href="./css/jsplumbtoolkit-demo.css">

    <!-- ztree start -->
    <link rel="stylesheet" href="./js/zTree_v3/css/metroStyle/metroStyle.css" type="text/css">
    <script type="text/javascript" src="./js/zTree_v3/js/jquery.ztree.core.js"></script>
    <!-- ztree end -->
    <script type="text/javascript" src="./js/contextjs/js/context.js"></script>
    <script type="text/javascript" src="./js/libs/d3.min.js"></script>
    <script type="text/javascript" src="js/jsplumb/jsplumb.js"></script>
    <script type="text/javascript" src="js/jsplumb/jsplumbtoolkit.js"></script>
    <script type="text/javascript" src="./js/syntax-highlighter.js"></script>

    <title>数据预处理</title>
    <style>
        body {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        .navbar {
            box-shadow: -1px 1px 2px 1px #bbbaba;
            position: relative;
        }

        .navbar-inner {
            /*background-image: linear-gradient(to bottom, #fff, #f2f2f2);*/
            background-image: linear-gradient(to bottom, #254087, #3F74B8);
            border: 0;
        }

        .navbar .brand {
            font-weight: 200;
            color: #fff;
            text-shadow: 0 1px 0 #000;
        }

        .layout-left {
            border-right: 1px solid #d4d4d4;
            padding: 0;
            overflow: hidden;
            margin: 0;
            background-color: #EFEFEF;
        }

        .layout-center {
            border-right: 1px solid #d4d4d4;
            padding: 0;
            margin: 0 !important;
            background-color: #fff;
        }

        .work_panel {
            position: relative;
            overflow: visible !important;
        }

        .navbar {
            margin-bottom: 0;
        }

        .navbar-inner {
            border-radius: 0;
            border-left: 0;
            border-right: 0;
        }

        .main-layout {
            margin: 0;
            padding: 0;
        }

        .layout-right, body {
            background-color: #F5F5F5;
        }

        .dropdown-menu {
            border: 1px solid #eee;
            -webkit-box-shadow: 5px 5px 30px rgba(0, 0, 0, .1);
            box-shadow: 5px 5px 30px rgba(0, 0, 0, .1);
            border-radius: 2px;
        }

        .dropdown-menu li:hover {
            background-color: #e8f6ff !important;
        }

        .dropdown-menu li a:hover, .dropdown-menu li a:focus {
            background-color: #e8f6ff !important;
            background-image: none;
            color: #333;
        }


    </style>
    <style>
        body, ul {
            margin: 0;
            padding: 0;
        }

        body {
            position: relative;
        }

        .abs {
            position: absolute;
            width: 200px;
            z-index: 10000;
            background-color: rgba(227, 244, 255, .9);
            cursor: move !important;
        }

        .left ul li {
            list-style-type: none;
            border: 1px solid #289de9;
            border-radius: 15px;
            cursor: pointer;
            line-height: 26px;
            -webkit-touch-callout: none; /* iOS Safari */
            -webkit-user-select: none; /* Chrome/Safari/Opera */
            -khtml-user-select: none; /* Konqueror */
            -moz-user-select: none; /* Firefox */
            -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently not supported by any browser */
            margin: 4px 1px;
            overflow: hidden;
            display: flex;
        }

        .left ul li .iconfont {
            width: 26px;
            height: 26px;
            margin: 1px;
            border-radius: 100%;
        }

        .left ul li .iconfont {
            float: left;
            color: #fff;
            font-size: 23px;
            background-color: #289de9;
        }

        .pane-node-content {

            border: 1px solid #289de9;
            border-radius: 15px;
            cursor: move;
            line-height: 26px;
            overflow: hidden;
            min-width: 150px;

        }

        .pane-node-copy {
            border: 1px dashed #333;
            border-radius: 15px;
            cursor: move;
            line-height: 26px;
            overflow: hidden;
            min-width: 150px;
            padding: 1px;
            padding-right: 0;
        }

        .pane-node-content:hover {
            background-color: rgba(227, 244, 255, .9);

        }

        .pane-node-content .iconfont {
            width: 26px;
            height: 26px;
            margin: 1px;
            border-radius: 100%;
        }

        .pane-node-content .iconfont {
            float: left;
            color: #fff;
            font-size: 23px;
            background-color: #289de9;
        }

        .mycursor {
            cursor: crosshair;
        }

        .inline {
            display: inline;
        }

        .ml5 {
            margin-left: 5px;
        }

        .in-hover {
            border: 5px solid rgba(255, 0, 0, .3);
        }

        .hide {
            border: 1px solid red;
        }

        .nav {
            margin-top: 5px;
        }

        .nav-tabs {
            border-bottom: 1px solid #eee;
        }

        .nav-tabs li.active {
            background-color: #eee;
        }

        .nav-tabs li a {
            border: 0 !important;
            background-color: inherit !important;
            color: #555;
        }

        .nav-tabs li:first-child {
            margin-left: 6px !important;
        }

        .navbar-inner {
            -webkit-box-shadow: none;
            -moz-box-shadow: none;
            box-shadow: none;
        }

        .guide {

            display: none;

            position: absolute;

            left: 0;

            top: 0;

        }

        #guide-h {

            border-top: 1px solid #FACE48;

            width: 100%;

        }

        #guide-v {

            border-left: 1px solid #FACE48;

            height: 100%;

        }


    </style>
</head>
<body>
<div class="row-fluid">
    <div class="span12">
        <div class="navbar">
            <div class="navbar-inner">
                <a class="brand" href="#">&nbsp;&nbsp;&nbsp;&nbsp;样本预处理</a>
            </div>
        </div>
        <div id="main_layout" class="row-fluid main-layout">
            <div class="span2 layout-left">
                <ul id="handle_tree" class="ztree"></ul>
            </div>
            <script type="jtk" id="tmplNode">
            <div class="pane-node-content draggable" style="width:${w}px;height:${h}px;">
                <span class="iconfont icon1-icon-dian"></span><span>存储过程${name}</span><span class="status icon-warning-o"></span>
                <div class="connect"/>
                <jtk-source filter=".connect"/>
                <jtk-target/>
            </div>
            </script>
            <div class="span7 layout-center" style="overflow:hidden;">
                <div id="work_panel" class="work_panel">
                    <!-- controls -->
                    <div class="controls">
                        <i class="fa fa-arrows selected-mode" mode="pan" title="Pan Mode"></i>
                        <i class="fa fa-pencil" mode="select" title="Select Mode"></i>
                        <i class="fa fa-home" reset title="Zoom To Fit"></i>
                    </div>
                    <!-- miniview -->
                    <div class="miniview"></div>
                </div>
                <div id="guide-h" class="guide"></div>
                <div id="guide-v" class="guide"></div>
            </div>
            <div class="span3 layout-right">
                <ul class="nav nav-tabs">
                    <li class="active">
                        <a href="#">参数设置</a>
                    </li>
                    <li>
                        <a href="#">执行调试</a>
                    </li>
                </ul>
                <form>
                    <fieldset>
                        <label>采样个数<span class="help-block inline ml5">与采样比例二选一</span></label>
                        <input type="text" placeholder="">
                        <label>采样比例<span class="help-block inline ml5">范围(0,1) 与采样个数二选一</span></label>
                        <input type="text" placeholder="">
                        <label class="checkbox">
                            <input type="checkbox"> 放回采样
                        </label>
                    </fieldset>
                </form>
            </div>
        </div>
    </div>
</div>
<!--拖动辅助线-->
<!--<div id="guide-h" class="guide"></div>-->
<!--<div id="guide-v" class="guide"></div>-->
<script src="./js/my.ztree.js"></script>
<script src="./js/my.contextjs.js"></script>
<script src="./js/my.jsplumbtoolkit.js"></script>
<script src="./js/core.js"></script>
<script src="./js/draggable.js"></script>
</body>
</html>